
import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `gift/frame/list${query}`,
    method: 'get',
  });
}
export function postAddData(form) {
  return request({
    url: `gift/frame`,
    method: 'post',
    data:form
  });
}

export function putEditData(form) {
  return request({
    url: `gift/frame/update`,
    method: 'post',
    data:form
  });
}
export function deleteData(form) {
  return request({
    url: `gift/frame`,
    method: 'delete',
    data:form
  });
}

